
export class InterceptorManager {
  handlers:Array<{
    fulfilled:Function,
    rejected:Function
  }> = []

  use(onFulfill:Function, onReject?:Function) {
    this.handlers.push({
      fulfilled: onFulfill,
      rejected: onReject || (()=>{})
    })
  }
}
